package com.zkthink.ceres.order.dao;


import com.zkthink.base.mapper.SuperMapper;
import com.zkthink.ceres.order.entity.SalesProfitOrder;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SalesProfitOrderMapper extends SuperMapper<SalesProfitOrder> {
    List<SalesProfitOrder> selectByIds(@Param("ids") List<Long> ids);

    SalesProfitOrder selectById(Long id);

    SalesProfitOrder selectAllByOrderNo(@Param("orderNo") Long orderNo);


    List<SalesProfitOrder> selectByOrderId(@Param("orderId") Long orderId);

    List<SalesProfitOrder> findAll();
}
